import numpy as np
arr = np.zeros((8,8), dtype=int)
arr[1::2, 0::2] = 1
arr[0::2, 1::2] = 1
print(arr)